package apii.algorithm;

import java.sql.*;
import java.util.Iterator;
import java.util.List;

/**
 * <b>Note:</b> thread safe.
 * 
 * @author evgeniy
 */
public interface Algorithm {

	/**
	 * The results are stored in DB
	 * 
	 * @param codeId
	 * @throws SQLException 
	 */
	public void inspect(Connection c, int codeId, Iterator<Integer> codeIds,
			ProgressMonitor pm) throws SQLException;
}
